package com.zretc.service;

import com.zretc.entity.Blog;
import com.zretc.entity.Log;
import com.zretc.util.PageData;

public interface BlogService {
	/**
	 * 根据blogid来查询blog信息
	 * 
	 * @param id
	 * @return
	 */

	public Blog selectBlog(int id);


	/**
	 * 增加blog
	 * @param blog
	 * @return
	 */
	public boolean addBlog(Blog blog, Log log);
	
	
	public PageData<Blog> selectBlogByLike(int page,int limit,String keywords);


}
